package vip.zhenzicheng.nettyadv.client;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import vip.zhenzicheng.nettyadv.vo.MyMessage;

import java.util.logging.Logger;

/**
 * @author zhenzicheng
 * @date 2022-06-14 10:25
 */
public class ClientBusyHandler extends SimpleChannelInboundHandler<MyMessage> {

  private static final Logger LOG = Logger.getLogger(ClientBusyHandler.class.getSimpleName());

  @Override
  protected void channelRead0(ChannelHandlerContext ctx, MyMessage msg) throws Exception {
    LOG.info("业务应答消息：" + msg.toString());
  }
}
